﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectCloth.Entity
{
    public class InStockItem
    {
        public int Id { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 单位编号
        /// </summary>
        public string CompanyNo { get; set; }
        /// <summary>
        /// 进货条目编号
        /// </summary>
        public string InstockItemNo { get; set; }
        /// <summary>
        /// 进货 货id
        /// </summary>
        public int? InstockProductId { get; set; }
        /// <summary>
        /// 进货 货名
        /// </summary>
        public string InstockProductName { get; set; }
        /// <summary>
        /// 进货摘要
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 进货备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 进货条目备注
        /// </summary>
        public string ItemRemark { get; set; }
        /// <summary>
        /// 销售单条目id
        /// </summary>
        public int SaleOrderItemId { get; set; }
        /// <summary>
        /// 销售单号
        /// </summary>
        public string SaleOrderNo { get; set; }
        /// <summary>
        /// 色号
        /// </summary>
        public string ColorType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 单位 
        /// </summary>
        public string UnitStr { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal FinalAmount { get; set; }
        /// <summary>
        /// 付款账号
        /// </summary>
        public int? PayAccountId { get; set; }
        /// <summary>
        /// 生成时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 经手人
        /// </summary>
        public int MakerId { get; set; }
        /// <summary>
        /// 经手人姓名
        /// </summary>
        public string MakerName { get; set; }
        /// <summary>
        /// 录单时间
        /// </summary>
        public DateTime? MakeTime { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PayTime { get; set; }
        /// <summary>
        /// 创建人id
        /// </summary>
        public int CreatorId { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreatorName { get; set; }
        /// <summary>
        /// 是否付款
        /// </summary>
        public bool IsPaid { get; set; }
    }
}
